package com.ganmiao.server.user.enums;

public enum SysCodeEnum {

    SUPPLIER("supplier", "供应商"),
    SUPERMARKET("supermarket", "商超"),
    PORTAL("portal", "总后台"),
    CANTEEN("canteen","饭堂");

    private String code;

    private String desc;

    public void SysCodeEnum(String desc) {
        this.desc = desc;
    }

    /**
     * @param code 响应码
     * @param desc 响应描述
     */
    private SysCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
